<?php
	
class Table_APourSujet extends Zend_Db_Table_Abstract
{
    protected $_name    = 'apoursujet';
    protected $_primary = array('ARTICLE_NUMERO','VIP_NUMERO');
    protected $_sequence = false;
    public function getVipsAvecArticles(){
    	
        return $this->fetchAll($this
        	->select() 	
        	);			
    }	
	
	
	public function supprAPourSujet($id){
		$this->delete('VIP_NUMERO ='.(int)$id);
	}
	
}